<?php

/**
 *
 * @OA\Schema(
 *       schema="images",
 *       description="images",
 *       @OA\Property(
 *            property="image",type="array",
 *            @OA\Items(
 *                type="string",format="binary"
 *            )
 *       )
 * )
 *
 * @OA\Post(path="/upload/image",
 *   tags={"upload"},
 *   summary="上传图片",
 *   operationId="uploadImage",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\RequestBody(
 *     @OA\MediaType(
 *       mediaType="multipart/form-data",
 *       @OA\Schema(ref="#/components/schemas/images")
 *     )
 *   ),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/HandleResponse")
 *   )
 * )
 *
 * @OA\Schema(
 *       schema="files",
 *       description="files",
 *       @OA\Property(
 *            property="file",type="array",
 *            @OA\Items(
 *                type="string",format="binary"
 *            )
 *       )
 * )
 *
 * @OA\Post(path="/upload/file",
 *   tags={"upload"},
 *   summary="上传文件",
 *   operationId="uploadFile",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\RequestBody(
 *     @OA\MediaType(
 *       mediaType="multipart/form-data",
 *       @OA\Schema(ref="#/components/schemas/files")
 *     )
 *   ),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/HandleResponse")
 *   )
 * )
 *
*/